
package cn.edu.hit.education.service;

import java.util.List;

import cn.edu.hit.education.pojo.Property;

public interface IPropertyService {

	int insert(Property property);
	
	int deleteByPrimaryKey(int id);
	
	int update(Property property);
	
	Property queryPropertyByPrimaryKey(int id);
	
	Property queryPropertyById(int id);
	
	List<Property> queryAllProperty();
	
	List<Property> queryPropertiesByProcessId(int processId);
	
	void clearPropertyNum();

	Property queryPropertyByName(String name);

}
